home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-10-25 | 5.7 KB | 52 lines | [TEXT/SPM ] |
- /*
- ShowInitIcon - version 1.0, May 11th, 1995
- This code is intended to let INIT writers easily display an icon at startup time.
- View in Geneva 9pt, 4-space tabs
-
- Written by: Peter N Lewis <peter@mail.peter.com.au>, Jim Walker <JWWalker@aol.com>
- and François Pottier <pottier@dmi.ens.fr>, with thanks to previous ShowINIT authors.
- Send comments and bug reports to François Pottier.
-
- This version features:
- - Short and readable code.
- - Correctly wraps around when more than one row of icons has been displayed.
- - works with System 6
- - Built with Universal Headers & CodeWarrior. Should work with other headers/compilers.
- */
-
- #include "ShowInitIcon.h"
-
- #include <Resources.h>
- #include <Icons.h>
- #include <OSUtils.h>
- #include <LowMem.h>
-
- // You should set SystemSixOrLater in your headers to avoid including glue for SysEnvirons.
-
- // Set this flag to 1 if you want to compile this file into a stand-alone resource (see note below).
- // Set it to 0 if you want to include this source file into your INIT project.
-
- #if